import request from "./request"
import qs from "qs"

// 发送验证码请求
export const SendSMSAPI = (params) => request.post('/sendSMS', qs.stringify(params))

// 登录请求
export const PhoneReginAPI = (params) => request.post('/phoneRegin', qs.stringify(params))

// 微信扫码登录
export const WeiXinLoginAPI = (params) => request.post('/wechatUsers/PCLogin', qs.stringify(params))

// 手机绑定微信
export const BindingAPI = (params) => request.post('/wechatUsers/binding', qs.stringify(params))

// 获取用户信息
export const UserProfilesAPI = () => request.get('/shop/userProfiles')
